package com.example.springbootdemo.threadpool;

public class ThrowRejectHandle implements RejectHandle{
    @Override
    public void reject(Runnable rejectRunnable, MyThreadPool myThreadPool) {
        throw new RuntimeException("队列已满");
    }
}
